package cn.lizhangqu.kb.adapter;

import android.content.Context;

import cn.lizhangqu.kb.R;
import cn.lizhangqu.kb.model.LgrgNode;

/**
 * Created by 柯尊诚 on 2015/11/10.
 * kzc
 */
public class LgrgListAdapter extends CommonAdapter<LgrgNode>{

    public LgrgListAdapter(Context context, int layoutId) {
        super(context, layoutId);


    }

    @Override
    public void convert(ViewHolder vh, LgrgNode lgrgNode) {
        vh.setImageResource(R.id.icon, R.drawable.icon);
        vh.setText(R.id.title, lgrgNode.getTitle());
    }

}
